package com.njupt.blog.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;


@Entity
public class StatVisitor
{
	private Long id;
	private String username;//姓名
	private Long blogId;//访问的博客
	private Long articleId;//访问的博文
	private Date visitimeOfBlogger;//访问博主的时间
	private Date visitimeOfBlog;//访问博客的时间
	private Date visitimeOfArticle;//访问博文的时间
	private String blogger;//访问的博主
	
	@Id @GeneratedValue(strategy=GenerationType.AUTO)
	public Long getId()
	{
		return id;
	}
	public void setId(Long id)
	{
		this.id = id;
	}
	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username = username;
	}
	public String getBlogger()
	{
		return blogger;
	}
	public void setBlogger(String blogger)
	{
		this.blogger = blogger;
	}
	public Date getVisitimeOfBlogger()
	{
		return visitimeOfBlogger;
	}
	public void setVisitimeOfBlogger(Date visitimeOfBlogger)
	{
		this.visitimeOfBlogger = visitimeOfBlogger;
	}
	public Long getBlogId() {
		return blogId;
	}
	public void setBlogId(Long blogId) {
		this.blogId = blogId;
	}
	public Long getArticleId() {
		return articleId;
	}
	public void setArticleId(Long articleId) {
		this.articleId = articleId;
	}
	public Date getVisitimeOfBlog() {
		return visitimeOfBlog;
	}
	public void setVisitimeOfBlog(Date visitimeOfBlog) {
		this.visitimeOfBlog = visitimeOfBlog;
	}
	public Date getVisitimeOfArticle() {
		return visitimeOfArticle;
	}
	public void setVisitimeOfArticle(Date visitimeOfArticle) {
		this.visitimeOfArticle = visitimeOfArticle;
	}
	
	
	
}
